package com.yuandian.api.management.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.time.LocalDateTime;

/**
 * 步骤异步关联配置表-实体
 * @author zfsn
 * @date 2023-6-1
 */
@Data
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "步骤异步关联配置表", description = "")
@TableName("conf_step_join_mapping")
public class ConfStepJoinMapping extends Model<ConfStepJoinMapping> {

	/**
	 *
	 */
	@ApiModelProperty(value = "自增主键", notes = "")
	@TableId(type = IdType.AUTO)
	private Integer id;

	/**
	 *
	 */
	@ApiModelProperty(value = "步骤间的顺序", notes = "")
	private String mappingType;

	/**
	 * 值取值t_business_single_relationship
	 */
	@ApiModelProperty(value = "步骤ID", notes = "值取值t_business_single_relationship")
	private Integer stepId;

	/**
	 *
	 */
	@ApiModelProperty(value = "步骤专属指标", notes = "")
	private String stepExclusiveIndex;

	/**
	 * 值取值t_business_single_relationship
	 */
	@ApiModelProperty(value = "上一步骤ID", notes = "值取值t_business_single_relationship")
	private Integer prevStepId;

	/**
	 *
	 */
	@ApiModelProperty(value = "上一步骤专属指标", notes = "")
	private String prevStepExclusiveIndex;

	/**
	 *
	 */
	@ApiModelProperty(value = "匹配数量", notes = "")
	private Integer matchNum;

	/**
	 * 默认admin
	 */
	@ApiModelProperty(value = "创建者编码", notes = "默认admin")
	private String createBy;

	/**
	 *
	 */
	@ApiModelProperty(value = "创建时间", notes = "")
	private LocalDateTime createTime;

	/**
	 * 默认admin
	 */
	@ApiModelProperty(value = "修改者编号", notes = "默认admin")
	private String updateBy;

	/**
	 *
	 */
	@ApiModelProperty(value = "修改时间", notes = "")
	private LocalDateTime updateTime;

	/**
	 * 0正常，1删除
	 */
	@ApiModelProperty(value = "状态:", notes = "0正常，1删除")
	private Integer status;

	/**
	 *
	 */
	@ApiModelProperty(value = "备注", notes = "")
	private String remarks;

	/**
	 * 所属系统id
	 */
	@TableField(exist = false)
	@ApiModelProperty(value = "所属系统id", notes = "所属系统id")
	private Integer systemId;

	/**
	 * 所属业务编码
	 */
	@TableField(exist = false)
	@ApiModelProperty(value = "所属业务编码", notes = "所属业务编码")
	private String businessCode;

}